            <div class="header">
                <div class="header_left">
                    <img src="<?php echo base_url();?>assets/css/uploads/brgy_logo.png" />
                </div>
                <div class="header_right">
                    <span class="nav_small">
                        <?php if($this->session->userdata('user_resp') == 'viewer') { ?>
                            <a href="<?php echo base_url();?>index.php/authenticate/onexit">Index</a>
                            &nbsp;|&nbsp;
                        <?php } ?>
                        <a href="<?php echo base_url();?>">Home</a>
                        &nbsp;|&nbsp;
                        <a href="">Career</a>
                        &nbsp;|&nbsp;
                        <a href="">Contact Us</a>
                        <?php if($this->session->userdata('user_resp') != "admin") { ?>
                        &nbsp;|&nbsp;
                        <a href="<?php echo base_url();?>ourbrgyc-admin.php">Log In</a>
                        <?php } ?>
                        <?php if($this->session->userdata('user_resp') == "admin") { ?>
                        &nbsp;|&nbsp;
                        <a href="<?php echo base_url();?>index.php/authenticate/logout">Log Out</a>
                        <?php } ?>
                    </span>
                    <br />
                    <?php if($this->session->userdata('user_resp') == 'viewer' || $this->session->userdata('user_resp') == '' || $this->session->userdata('user_resp') == null) { ?>
                    <span class="h_brgy_nav">
                        <form action="<?php echo base_url();?>index.php/authenticate/viewsite" method="POST">
                            <select name="province_val" id="province_val" onchange="getmunicipality()">
                                <option value="0" selected>Province</option>
                            </select>
                            <select name="municipality_val" id="municipality_val" onchange="getbarangay()">
                                <option value="0" selected>Municipality</option>
                            </select>
                            <select name="barangay_val" id="barangay_val">
                                <option value="0" selected>Barangay</option>
                            </select>
                            <input type="submit" name="showbrgy" value="View Site" />
                        </form>
                    </span>
                    <?php } ?>
                    <span class="head_contact">
                        <?php 
                            $brgy_info_con_mail = "";
                            $brgy_info_con_mail .= "Call Us: ";
                            if($this->session->userdata('barangay_id') == '' || $this->session->userdata('barangay_id') == null) {
                                $brgy_info_con_mail .= "63 32 418-0288 or Email Us: xmbsupport@xmb.com";
                            } else {
                                $brgy_info_con_mail .= $this->session->userdata('phone') . "or Email Us: " . $this->session->userdata('email');
                            }
                            print $brgy_info_con_mail;
                        ?>
                        
                    </span>
                </div>
            </div>